package com.eascs.app.dao;

import com.eascs.common.util.DigestUtils;
import com.eascs.common.util.StringUtil;
import com.eascs.common.util.UuidUtil;

public class DefaultIdBuilder {

	public static String build() {
		return new StringBuffer().append(StringUtil.convertString16To32(Long.toHexString(System.currentTimeMillis()))).append(DigestUtils.md5With8(UuidUtil.generateFullUuid())).toString();
	}

	public static void main(String[] args) {
		System.out.println(DefaultIdBuilder.build());
	}
}
